#include <iostream>
using namespace std;
struct course{
    int id;
    int score;
};

struct student{
    int id;
    char name[10];
    course course1;
};

int main()
{
    student zs;
    zs.id = 1;
    strcpy(zs.name, "zs");
    zs.course1.id = 1;

    zs.course1.score = 100;
    cout<<zs.name<<endl;
    
    student ls;
    ls = zs;
    zs.id = 10;
    zs.course1.score = 99;
    strcpy(zs.name,"zhangsan");
    cout<<ls.course1.score << endl;
    cout<<zs.course1.score;
    cout<<ls.name<< endl;
    cout<<zs.name;
}